<!DOCTYPE html>
<html>
<head>
<title>{$site_name}</title>
<meta name="keywords" content="{$site_seo_keywords}" />
<meta name="description" content="{$site_seo_description}">
<meta name="author" content="ThinkCMF">
<tc_include file="Public:head" />
</head>

<body class="body-white" id="top">
	<tc_include file="Public:nav" />

		<div class="container tc-main">
                <div class="row">
                    <div class="span3">
	                    <tc_include file="Public:usernav"/>
                    </div>
                    <div class="span9">
                           <div class="tabs">
                               <ul class="nav nav-tabs">
                                   <li class="active"><a href="#one" data-toggle="tab"><i class="fa fa-comments-o"></i>绑定账号</a></li>
                               </ul>
                               <div class="tab-content">
                                   <div class="tab-pane active" id="one">
                                   		
                                   		 <button type="button" class="btn btn-primary btn-lg" style="margin-bottom:15px; border-radius:5px;" id="addPub">添加公众号</button>
                                   		<table class="table table-bordered table-striped table-hover">
									    <thead>
									      <tr>
									       
									        <th >公众号名称</th>
									        <th>公众号类型</th>
									       <if condition="$Think.session.user.user_type eq 2">
									        <th width="50">粉丝数</th>
									        <th width="90">单图文报价</th>
									        <th width="120">多图文第一条报价</th>
									        <th width="120">多图文第二条报价</th>
									        <th width="130">多图文其他位置报价</th>
									        <else />
									        <th>公众号id</th>
									        
									       </if>
									        <th widht="40">状态</th>
											
									      </tr>
									    </thead>
									    <tbody>
									  <foreach name="pwblist" item="vo">
									  <tr>
									  	  <td>{$vo.pwc_name}</td>
									  	  <td>
									  	  	<if condition="$vo['wechatType'] eq 1">
									  	  		服务号
									  	  	<else />
									  	  		订阅号
									  	  	</if>
									  	  </td>
									  	    <if condition="$Think.session.user.user_type eq 2">
										  <td>{$vo.pwc_fsnum}</td>
										  <td>{$vo.price_d}</td>
										  <td>{$vo.price_f}</td>
										  <td>{$vo.price_s}</td>
										  <td>{$vo.price_o}</td>
										    <else />
										    <td>{$vo.pwc_id}</td>
										    </if>
										   <td>{$status[$vo['status']]}</td>
										 
										</tr>
									  </foreach>
								
									
								  		
									  
									  
									   
									    </tbody>
									  </table>
                                   		
                                   	
                                   
                                   
                                   	
                                   </div>
                                   
                                   
                               </div>							
                           </div>
                    </div>
                </div>

		<tc_include file="Public:footer" />

	</div>
	<!-- /container -->

	<tc_include file="Public:scripts" />
	<Script type="text/javascript">
		$(function(){
			$("#addPub").click(function(){
					
				window.location.href="{:U('user/Profile/addPubWec')}";
		
			});
		})
	</Script>
	
	
</body>
</html>